package cn.lili.modules.auth.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.common.security.AuthUser;
import cn.lili.common.security.enums.SceneEnums;
import cn.lili.common.security.token.Token;
import cn.lili.modules.auth.client.AuthClient;
import cn.lili.modules.member.entity.dos.User;

/**
 * TokenGenerateFallback
 *
 * @author Chopper
 * @version v1.0
 * 2022-08-31 11:29
 */
public class TokenGenerateFallback implements AuthClient {
    @Override
    public Token createToken(User user, boolean longTerm) {
        throw new ServiceException();
    }

    @Override
    public Token refreshToken(String refreshToken) {
        throw new ServiceException();
    }

    @Override
    public void logout(SceneEnums sceneEnums) {
        throw new ServiceException();
    }

    @Override
    public void resetUserPermissionMap(AuthUser authUser) {
        throw new ServiceException();
    }
}
